package com.happy_hao.topbiz.dto.msgDto;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class NoPeriodStartRequest implements Serializable {
    @NotBlank(message = "fromEmail不能为空")
    private String fromEmail;

    @NotBlank(message = "to不能为空")
    private String toEmail;

    @NotBlank(message = "subject不能为空")
    private String subject;
    @NotBlank(message = "content不能为空")
    private String content;
    @NotEmpty
    private List<Integer> times;
}
